package com.hzw.saas.web.app.service.group.util;

import com.hzw.saas.api.group.query.GroupQuery;

import java.util.UUID;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/1/18 15:48
 */
public class GroupUtil {

    public static GroupQuery getRandomGroup() {
        String groupName = UUID.randomUUID().toString().replace("-", "");
        String groupDesc = UUID.randomUUID().toString().replace("-", "");
        String groupAvater = UUID.randomUUID().toString().replace("-", "");

        GroupQuery groupParam = new GroupQuery();
        groupParam.setGroupAvater(groupAvater);
        groupParam.setGroupDesc(groupDesc);
        groupParam.setGroupName(groupName);

        return groupParam;
    }

}
